<!-- InstanceBegin template="/Templates/admin-template.dwt.php" codeOutsideHTMLIsLocked="false" --><!DOCTYPE html>

<!--[if IE 7 ]>   <html lang="en" class="ie7 lte8"> <![endif]--> 

<!--[if IE 8 ]>   <html lang="en" class="ie8 lte8"> <![endif]--> 

<!--[if IE 9 ]>   <html lang="en" class="ie9"> <![endif]--> 

<!--[if gt IE 9]> <html lang="en"> <![endif]-->

<!--[if !IE]><!--> <html lang="en"> <!--<![endif]--><head>

<?php 

	include_once("CheckSession.php");

?>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!--[if lte IE 9 ]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->



<!-- iPad Settings -->

<meta name="apple-mobile-web-app-capable" content="yes" />

<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> 

<meta name="viewport" content="user-scalable=no, initial-scale=1.0, width=device-width ">

<!-- iPad End -->

<!-- InstanceBeginEditable name="doctitle" -->

<title>Quản lý thông tin | Quang Du Co</title>

<link rel="stylesheet" media="screen" href="css/forms.css" />

<!-- InstanceEndEditable -->

<link rel="shortcut icon" href="favicon.ico">



<!-- iOS ICONS -->

<link rel="apple-touch-icon" href="touch-icon-iphone.png" />

<link rel="apple-touch-icon" sizes="72x72" href="touch-icon-ipad.png" />

<link rel="apple-touch-icon" sizes="114x114" href="touch-icon-iphone4.png" />

<link rel="apple-touch-startup-image" href="touch-startup-image.png">

<!-- iOS ICONS END -->



<!-- STYLESHEETS -->

<!-- InstanceBeginEditable name="CSS" -->CSS<!-- InstanceEndEditable -->



<link rel="stylesheet" media="screen" href="css/reset.css" />

<link rel="stylesheet" media="screen" href="css/grids.css" />

<link rel="stylesheet" media="screen" href="css/style.css" />

<link rel="stylesheet" media="screen" href="css/jquery.uniform.css" />

<link rel="stylesheet" media="screen" href="css/themes/lightblue/style.css" />



<!-- jQplot CSS -->

<link rel="stylesheet" media="screen" href="lib/jqplot/jquery.jqplot.min.css" />

<!-- jQplot CSS END -->



<style type = "text/css">

    #loading-container {position: absolute; top:50%; left:50%;}

    #loading-content {width:800px; text-align:center; margin-left: -400px; height:50px; margin-top:-25px; line-height: 50px;}

    #loading-content {font-family: "Helvetica", "Arial", sans-serif; font-size: 18px; color: black; text-shadow: 0px 1px 0px white; }

    #loading-graphic {margin-right: 0.2em; margin-bottom:-2px;}

    #loading {background-color: #eeeeee; height:100%; width:100%; overflow:hidden; position: absolute; left: 0; top: 0; z-index: 99999;}

</style>



<!-- STYLESHEETS END -->



<!--[if lt IE 9]>

<script src="js/html5.js"></script>

<script type="text/javascript" src="js/selectivizr.js"></script>

<![endif]-->



<!-- InstanceBeginEditable name="head" -->

<!-- InstanceEndEditable -->

</head>

<body style='overflow: hidden;'>

    

  <div id="loading"> 



        <script type = "text/javascript"> 

            document.write('<div id="loading-container"><p id="loading-content">' +

                           "<img id='loading-graphic' width='16' height='16' src='images/ajax-loader-eeeeee.gif' /> " +

                           

						   'Loading...</p></div>');

        </script>

    </div> 



    <div id="wrapper">

        <header>

            <h1><a href="#">Quản lý Quang Du</a></h1>

            <nav>

				<ul id="main-navigation" class="clearfix"> 

                    <li class="fr dropdown"> 

                        <a href="#" class="with-profile-image"><span><img src="images/profile-image.png" /></span>Administrator</a> 

                        <ul> 

                            <li><a href="DoiMatKhau.php">Đổi mật khẩu</a></li> 
                            <li><a href="logout.php">Thoát</a></li> 

                        </ul>

                    </li> 

				</ul> 

            </nav>

            

        </header>

        

        <section>

            <!-- Sidebar -->



            <aside>

                <nav>

                    <ul>

                        <li class="current"><a href="ThemSanPham.php">Thêm sản phẩm</a></li>

                        <li><a href="QuanLySanPham.php">Quản lý sản phẩm</a></li>
                        
                        <li><a href="QuanLyThongTin.php">Quản Lý thông tin</a></li>

                    </ul>

                </nav>
                
            </aside>



            <!-- Sidebar End --><!-- InstanceBeginEditable name="main section" -->

            

           
	
           <section>
              <header class="container_12 clearfix">
                <div class="grid_12">
                  <h1>Thông tin công ty</h1>
                </div>
              </header>
              <section class="container_12 clearfix">
                <div class="portlet grid_12">
                  <header>
                    <h2>Quản lý thông tin liên lạc của công ty</h2>
                  </header>
                  <section>
	<?php
			
		include_once("lib/ClassQuanLy.php");
		
		$ql = new QuanLy;
		$ql = QuanLy::LayTatCaThongTin();
		if($ql)
		{
			//echo ra phần thong tin 
          	echo '
                    <form class="form has-validation" action="xlCapNhatThongTin.php" method="POST" enctype="multipart/form-data">
                      <input name="MaQuanLy" type="hidden" value="'.$ql->MaQuanLy.'">
					  <div class="clearfix">
                        <label for="form-name" class="form-label">Điện thoại cố định <em>*</em><small>Nhập vào số điện thoại cố định</small></label>
                        <div class="form-input">
                          <input type="text" id="form-name" name="Phone" required="required" value="'.$ql->Phone.'" />
                  		</div>
                      </div>
                      
                      <div class="clearfix">
                        <label for="form-name" class="form-label">Điện thoại di động <em>*</em><small>Nhập vào số điện thoại di động</small></label>
                        <div class="form-input">
                          <input type="text" id="form-name" name="Mobile" required="required" value="'.$ql->Mobile.'" />
                  		</div>
                      </div>    
                      
                      <div class="clearfix">
                        <label for="form-name" class="form-label">Fax <em>*</em><small>Nhập vào số fax</small></label>
                        <div class="form-input">
                          <input type="text" id="form-name" name="Fax" required="required" value="'.$ql->Fax.'" />
                  		</div>
                      </div>  
                      
                      <div class="clearfix">
                        <label for="form-name" class="form-label">Email <em>*</em><small>Nhập vào địa chỉ email</small></label>
                        <div class="form-input">
                          <input type="text" id="form-name" name="Email" required="required" value="'.$ql->Email.'" />
                  		</div>
                      </div>   
                      
                      <div class="clearfix">
                        <label for="form-name" class="form-label">Địa chỉ công ty <em>*</em><small>Nhập vào địa chỉ công ty</small></label>
                        <div class="form-input">
                          <input type="text" id="form-name" name="DiaChiCongTy" required="required" value="'.$ql->DiaChiCongTy.'" />
                  		</div>
                      </div>    
                      
                      <div class="clearfix">
                        <label for="form-name" class="form-label">Địa chỉ xưởng <em>*</em><small>Nhập vào địa chỉ xưởng</small></label>
                        <div class="form-input">
                          <input type="text" id="form-name" name="DiaChiXuong" required="required" value="'.$ql->DiaChiXuong.'" />
                  		</div>
                      </div>    
                      <div class="form-action clearfix">
                        <button class="button" type="submit" data-icon-primary="ui-icon-circle-check">Update</button>
                        <button class="button" type="reset">Reset</button>
                      </div>
                     
                    </form>
                  </section>
                </div>
              </section> ';
           
		}//end if($ql)
		else
		{
			echo'Xãy ra lỗi, vui lòng thử lại sau.';
		}
	?>
           
           
           
           
           
           
           
           
           
           
           

			<!-- InstanceEndEditable -->

            

            



            <!-- Main Section End -->

				<footer class="container_12 clearfix">

                    <div class="grid_12">

                        Make by <span style="color:#09F";>Impossible Team</span>

                    </div>

                </footer>

            </section>

    </div>

    

    <!-- MAIN JAVASCRIPTS -->

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.js"></script>

    <script>window.jQuery || document.write("<script src='js/jquery.min.js'>\x3C/script>")</script>

    <script type="text/javascript" src="js/jquery.tools.min.js"></script>

    <script type="text/javascript" src="js/jquery.uniform.min.js"></script>

    <!--[if lt IE 9]>

    <script type="text/javascript" src="js/PIE.js"></script>

    <script type="text/javascript" src="js/ie.js"></script>

    <![endif]-->



    <script type="text/javascript" src="js/global.js"></script>

    <!-- MAIN JAVASCRIPTS END -->



    <!-- LOADING SCRIPT -->

    <script>

    $(window).load(function(){

        $("#loading").fadeOut(function(){

            $(this).remove();

            $('body').removeAttr('style');

        });

    });

    </script>

    <!-- LOADING SCRIPT -->

    

    <!-- jQplot SETUP -->

    <!--[if lt IE 9]>

    <script type="text/javascript" src="lib/jqplot/excanvas.js"></script>

    <![endif]--><!-- InstanceBeginEditable name="Script" -->Script<!-- InstanceEndEditable --> 

<script type="text/javascript" src="lib/jqplot/jquery.jqplot.min.js"></script>

    <script type="text/javascript" src="lib/jqplot/plugins/jqplot.categoryAxisRenderer.min.js"></script>

    <script type="text/javascript" src="lib/jqplot/plugins/jqplot.barRenderer.min.js"></script>

    <script type="text/javascript">

    $(document).ready(function(){

        var line1 = [1,4, 9, 16];

        var line2 = [25, 12.5, 6.25, 3.125];

        var line3 = [2, 7, 15, 30];

        var plot2 = $.jqplot('chart2', [line1, line2, line3], {

            show: true,

            legend:{show:true, location:'ne', xoffset:0},

            seriesDefaults:{

                renderer:$.jqplot.BarRenderer, 

                rendererOptions:{barPadding: 8, barMargin: 10, shadowDepth: 2}

            },

            series:[

                {label:'Profits'}, 

                {label:'Expenses'}, 

                {label:'Sales'}

            ],

            axes:{

                xaxis:{

                    renderer:$.jqplot.CategoryAxisRenderer, 

                    ticks:['1st Qtr', '2nd Qtr', '3rd Qtr', '4th Qtr']

                }, 

                yaxis:{min:0}

            }

        });

    });

    </script>

    <!-- jQplot SETUP END -->

</body>

<!-- InstanceEnd --></html>

